/*
	Copyright (C) 2009 jungil Han <jungil.Han@gmail.com>

	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef __MKUTIL_H__
#define __MKUTIL_H__

#include "../Base/mkBase.h"

#include <Qt>

class QString;

class mkUtil {
public:
	static QString GetDefaultBrowser();

	static bool IsEnabledAutoRun();
	static void RegisterAutoRun( IN bool a_bIsEnable );

	static void GetWriteDir( OUT QString &a_refWriteDir );

	static void TranslateKeyEnumToText( IN int a_nSystemKey, IN int a_nNonSystemKey,
								OUT QString *a_pSystemKeyText, OUT QString *a_pNonSystemKeyText );
	static void TranslateKeyTextToEnum( IN QString a_pSystemKeyText, IN QString a_pNonSystemKeyText,
								OUT int *a_nSystemKey, OUT int *a_nNonSystemKey );

	static unsigned int TranslateKeyQtToWin32( IN Qt::Key a_eKey );
};

#endif /* __MKUTIL_H__ */
